package chapter03;

public class Example02 {
    String name;
    int age;
     System.out.println("大家好，我是"+name+",年龄"+age);
}
}
class demo01 {
    public static void main(String[] args) {
        Student stu1 = new Student();
        Student stu2 = null;
        stu2 = stu1;
        stu.name = " 小明 ";
        stu.age1 = 20 ;
        stu.age2 = 50 ;
        stu1.read();
        stu2.read();
    }
}
